/***************************************************************************
** @file:		25AA640.c
** @brief:  	
** @author:
** @date:		2019-7-25
** @version: 	
***************************************************************************/
#include "25AA640.h"

sbit NCS1=P3^4;
sbit NCS2=P3^3;
sbit SCLK=P3^5;
sbit MOSI=P3^6;
sbit MISO=P3^7;


spi_dev_t g_25AA640_dev;

 static void gpio_init(void)
 {
    NCS1 = 1;
    NCS2 = 1;

//    SCLK = 0;  // mode 0
    SCLK = 1;     // mode 3
    
    MOSI = 1;
    MISO = 1;
    

 }
void  n_cs_pin_set(uint8_t val)
{

}
void sclk_pin_set(uint8_t val);
{

}
void mosi_pin_set(uint8_t val)
{}
void miso_pin_set(uint8_t val)
{}
uint8_t miso_pin_read(uint8_t val) 
{}
uint8_t mosi_pin_read(uint8_t val);
{
}


/*****************end of file  25AA640.c***********/

